package com.tcm.order.service;

import com.tcm.order.entity.OrderDoctorBill;
import com.tcm.order.entity.Order;
import com.tcm.order.entity.OrderStoreBill;
import com.tcm.order.entity.SettlementOrder;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

public interface SettlementOrderService {

    void create(Order order, OrderStoreBill orderStoreBill, OrderDoctorBill orderDoctorBill, BigDecimal inviterCommission);

    List<SettlementOrder> selectByEndTime(LocalDateTime endTime);

    void updateByEndTime(LocalDateTime endTime);
}
